import { computed, makeAutoObservable } from 'mobx';

export default class SuiteState {
    constructor(UiState, suite) {
        this.filteredTests = computed(() => suite.tests.filter(UiState.filterFunction));
        makeAutoObservable(this, {}, { autoBind: true });
    }
}
